Differential Equations

Exact Equations<!-- --> | Differential Equations

Exact Equations

Sharan Sajiv Menon - October 5th, 2021


Exact Equations

Exact equations are differential equations of the following form

M(x,y)dx+N(x,y)dy=0M(x, y)dx + N(x, y)dy=0

They can also be written in the following forms:

M(x,y)dydx+N(x,y)=0M(x, y)\frac{dy}{dx} + N(x, y)=0
M(x,y)+N(x,y)dydx=0M(x, y)+ N(x, y)\frac{dy}{dx} =0

Checking for exact equations

To check if an equation is exact, you have to take the partial derivatives of M(x,y)M(x, y) and N(x,y)N(x, y) and ensure that they are equal.

My=Nx\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}

Solving Exact Equations

The solution to a exact equation is a function I(x,y)I(x, y) whose partial derivatives can be put in place of M(x,y)M(x,y) and N(x,y)N(x, y)

Ixdx+Iydy=0\frac{\partial I}{\partial x}dx + \frac{\partial I}{\partial y} dy=0

To find this function II, you can either integrate Mdx\int Mdx or Ndy\int Ndy.

If I(x,y)I(x, y) has partial derivatives Ix\frac{\partial I}{\partial x} and Iy\frac{\partial I}{\partial y}, then I(x,y)=CI(x, y) = C is a solution to the exact equation

\frac{\partial I}{\partial x}dx + \frac{\partial I}{\partial y} dy=0

Examples

Example 1: Solve (3x2y35x4)dx+(y+3x3y2)dy(3x^2y^3 - 5x^4)dx + (y+3x^3y^2)dy

Solution 1: This looks like an exact equation, but check to make sure.

  • M(x,y)=3x2y35x4M(x, y) = 3x^2y^3 - 5x^4
  • N(x,y)=y+3x3y2N(x, y) = y + 3x^3y^2
  • My=9x2y2\frac{\partial M}{\partial y}=9x^2y^2
  • Nx=9x2y2\frac{\partial N}{\partial x}=9x^2y^2

The partial derivatives are equal, so this is an exact equation.

We will integrate Mdx\int M dx to find I(x,y)I(x, y).

3x2y35x4dx=x3y3x5+f(y)=I(x,y)\int 3x^2y^3-5x^4 dx = x^3y^3 - x^5 + f(y) = I(x, y)

To find f(y)f(y), remember that Iy=N(x,y)\frac{\partial I}{\partial y} =N(x, y).

That means that 3x3y2+f(y)=y+3x3y23x^3y^2 + f'(y)=y+ 3x^3y^2. Simplify that to f(y)=yf'(y) = y, and you get f(y)=f(y)=y22+Cf(y) = \int f'(y) = \frac{y^2}{2} + C.

I(x,y)=x3y3x5+y22+CI(x, y) = x^3y^3 - x^5 + \frac{y^2}{2} + C.

The solution then is x3y3x5+y22=Cx^3y^3 - x^5 + \frac{y^2}{2}=C. You can solve this for yy to get the explicit solution.

Created by Sharan Sajiv Menon, © 2022